/*
 *      Created on: Mar 4, 2011
 *      Author: topcoder
 */

#ifndef QUANTITY_H_
#define QUANTITY_H_
#include <Unit.h>

typedef enum
{
    FormatInBaseUnit = 0,
    FormatInUnitOrder = 1
}Format;

class Quantity
{
    public:
    Quantity(const unsigned int amount, const Unit unit);

    bool operator==(const Quantity& quantity)const;

    bool operator!=(const Quantity& quantity)const;

    protected:
    unsigned int amountInBaseUnit_m;

    Unit unit_m;    
};

#endif /* QUANTITY_H_ */
